package ThreadDemo.ThreadSecure;

public class SynchronizedMethodTest {
    public static void main(String[] args) {
        SynchronizedAccount account = new SynchronizedAccount("1234567",1000);
        new SynchronizedMethodThread(account,800,"甲").start();
        new SynchronizedMethodThread(account,800,"乙").start();
    }
}
